<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/10/5
  Time: 17:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>welcome</title>
  </head>
  <body>
  <%request.setCharacterEncoding("UTF-8");%>

  <jsp:useBean id="user" class="com.javaBean">
  <jsp:setProperty name="user" property="*"></jsp:setProperty>
</jsp:useBean>
<div>
  <ul>
    <li>
      用户名：<jsp:getProperty name="user" property="username"/>
    </li>
    <li>
      密码：<jsp:getProperty name="user" property="password"/>
    </li>
  </ul>
</div>
  </body>
</html>
